<?php

use function Hyperf\Support\env;

return [
    'default' => [
        'host' => env('AMQP_HOST','127.0.0.1'),
        'port' =>(int) env('AMQP_PORT',5672),
        'user' => env('AMQP_USER','guest'),
        'password' => env('AMQP_PASS','ddiot@2030'),
        'vhost' => '/',
        'concurrent' => [
            'limit' => 1,
        ],
        'pool' => [
            'connections' => 1,
        ],
        'params' => [
            'insist' => false,
            'login_method' => 'AMQPLAIN',
            'login_response' => null,
            'locale' => 'en_US',
            'connection_timeout' => 3.0,
            'read_write_timeout' => 6.0,
            'context' => null,
            'keepalive' => false,
            'heartbeat' => 3,
            'close_on_destruct' => false,
        ],
    ]
];
